package com.time;

import java.util.TimerTask;

import com.time.dao.UserDao;

public class Task2 extends TimerTask{
	private UserDao userDao;
	
	@Override
	public void run() {
		userDao.running("task2");
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
}
